corrected internal js errors not visible by phone