Changes for new jQuery and addition of Foundation