Layout changes to load js after footer