added JS, footer