Update js for mobile