Moved requirejs inside head block