JavaScript implementation of JSON Pointer