moved js to the bottom