fix(sourcemap): move method to onBrowserComplete