Improve JS documentation