by using headJs, we finally make the js and css resources load-by-demand