remove unused dependency
remove IE6-IE8 workaround code
remove meaningless code; value was set but never referenced
lint fixes