added javascript sourcemap

Fixes issue #8