Provide option to define a destination directory for transformed js files

I find it beneficial to separate compiled files from source files whenever possible. This way, users can add the destination directory to their `.gitignore` and prevent polluting their repository with unnecessary javascript files.