Client refactoring
Average knowladge preview map switcher
Javascript files refactored to pass JSHint validation
JavaSript refactoring and clean-up
JavaScript refactoring
JavaScript refactoring