Major refactoring to remove jQuery and Isotope