Documentation tool in JS