Added conditional statements to include js on all pages