new js for ipad