[JS] Initial implementation of CUD operations

Currently only supports 1 operation/table-itemid pair