'class' is reserved in ie... This changes the types object parameter class to something IE won't bitch about