pomelo js client