added some js boilerplate and cleaned up the header and the footer markup