add source map during frontend.js compilation