removed debugging in js