Refactored moment js hack
Refactored error handling on local storage quota exceeded error
Added todo
Added one more function call cache to gain speed