Use AmdPlugin to manage js & seperate layout-view.js to several files