Fixing JS sources from local tests