added links to built-in tool docs
refactored js code and class names