more jsDoc & code cleanup for openstack compute