Update js file IOS7 related bug