use sourcemaps and copy files into target if dev
turning on source maps
Merge pull request #3300 from guardian/use-requirejs-sourcemaps

Turn on JS sourcemaps