Use requirejs to minimize javascript