Improve common JS documentation