It is true that the list returned by `getAnnotations` can be mutated in the javascript version - so perhaps we should support that (it looks like `JsArray` supports this?).  

Note that if you mutate the list in this manner, you will still need to call `setAnnotations` to trigger the renderer to update (or force the renderer to update through another means).