added sourcemap support to build.sh
Merge pull request #1225 from cprerovsky/howling-mad

added sourcemap support to build.sh