Ajay | #2981 | Refactoring - Removed usage of DOM elements in ViewModel