fix require path ../layout-mode
fix requireJS path ./item and ./layout-mode;
Ref #565