bug-fix: correct js snippet rm