moved js to bottom of document