fix style error to pass pep8
change method and variables name to fit pep8
change a better function name
add interface docstring
refactoring watchtips.js(myjs.js)