Correct some javascript documentation, implement utility methods.