chrome bug fixes, remaped some js