Add missing file extension .js

Fixes issue #6