Fix bug with Jquery if the user lands on an internal page / deeplink.