Specified user agent, because on linux it loaded the mobile version otherwise. Also changed some stuff in the views, to call the script correctly