Bugfixes for IE

#82