added support for js source maps