update js and fix css for mobile