Updating JS documentation