remove code in js