added clientside error tracking

#2171
add ?w=1 to exclude whitespace changes