Ajax/JS will only display on relevant pages