remove excess logging in js