#8 javascript refactoring