move sourceMappingURL to footer
change map file to .js.map
adjusted tests