Move JS enhancement logic in to head
Add buffer padding to bottom of page