Fixed some js on mobile