adding require to <head>