pub fn increment(packed: &JsValue) -> Result<JsValue, JsValue>