Remove unused js files
Refactoring frontend scripts
Refactoring frontend scripts 2