moved js to head