test and fix #1079

In some cases I saw even dataViewId in the URL
You should use can.addClass instead: http://canjs.com/docs/can.addClass.html