Added JS documentation