put JS in 'head'