fix es5 for mobile