added functions to write minified js to a file
Merge pull request #3 from drincruz/feature/write_min_js

added functions to write minified js to a file