moved js to body