REFACTOR: Reorganised code using RequireJS and Bower