adapting build script from mapapi.js to perform minification locally. Should fix parent issue #4
Merge pull request #6 from SignpostMarv/auto-minify

adapting build script from mapapi.js to perform minification locally.