Added option to generate js source map