removed the duplicate AjsApp folder. Added checkDimension function in controller.js