Refactoring js, still works!