Fix moveToFront() in updateHighlights
Remove isFunction from Datamap.prototype