AngularTetris - compatibility with Firefox and Internet Explorer