Add requirejs and make it work