Fix broken merge #10

This code will fix the plugin that at the moment is broken.

However, the plugin needs more work because the input bindings don't work. For example, if you put a model.name as an input box inside a <td> the model.name isn't updated.