Adding code to Annotorious plugin