Changes CHP Javascript to only execute on home page.