Adding requirejs and testing applications