update frontend.js with source map