ADD commonJS module loader + refactor customer index.html.erb