fixed issue on ie, added on ready
issue #929
Merge branch 'hotfixes' into develop