removed console.log statement since causing errors in IE