Page Switching passes JSLint