A HAL client for JavaScript