Ajay | #2688 | Refactoring - Removed unused code in analysis js file