update, add test comments to javascript files