an client for HAL services written in javascript