Fixes 'Object doesn't support this action'. IE8 error.

This pull request fixes issue  #37 'Object doesn't support this action'. IE8 error. First time doing Coffee, so if I did anything wrong, let me know.