Passing _options explicitly to callback

On the RDFauthor formbuilder branch we had the problem, that the
_options object was not the correct one. This could be solved by using
a JavaScript closure construction. This seems also to be a useful change
in general (albeit the problem we had did not show in the develop branch)