optimize code
old browser support
old browser support 1
browser support done