Added documentation to javascript support