implementing requirejs