Fix bug compiling ouput path as .dust

Oversight in the last commit removed stripping out .dust and adding .js

- Fixed filepath variable