Move requirejs to the end of body and use async

Using async attribute can gain some performance boost while requirejs will not block DOM construction and execution is not blocked on CSSOM. For old browsers that ignore async it might fall back to defer and requirejs will not block DOM construction.