JS to handle the redirection to the mobile version of your site