added js to head