Clean up source map to be compatible with more plugins