checkout jshinted and standard coding see #4680