if dest endsWith .js, then combine the src files and write the output into dest
Merge pull request #2 from zenxds/master

if dest endsWith .js, then combine the src files and write the output in...