updated footer to load JS with different pages