Most of JS code moved to RequireJS
App running on AMD