Update inline documentation to JSDuck format, fix whitespace