Fixed bug in datatable.js to work with mithril v0.1.22

Before this was causing mithril to infinitely recurse resulting in a call stack exceeded error