fix errors in chrome and IE from previous. remove unused class property