Fixed problem with relative links making jQuery not load