Refactoring: added requirer.js and added ajax indicator