Refactored JS codes