morris handler for knockoutjs