used the dataobject itself as context for expressions.
fixed some jshint errors