Javascript inside head