Fix issue where .js source file is not renamed properly
Merge pull request #2 from kadamwhite/js-file-naming-issue

Fix issue where .js source file is not renamed properly.