Adding requirejs to frontend