Is my javascript install working as expected?

Yes, you’ve got it.

See