rm javascript.syntax perfomance issue