move js back to header. weird times!