rest2mobile JavaScript SDK