added js file to head