REST handle and JS testing client