add footer, move js to footer