adding js to fix mobile