Button creation is broken with ie