Update annotations_plugin.js

Change callback signature to match a plugin controller update.