Added comments to Javascript unit tests