Fixed bun in IE 11. Where document.selection is deprecated
small fix
Fixed code style
Merge pull request #72 from damintsew/fix_ie

Fix ie