Prevents scroll to top when paste
Merge pull request #939 from danyg/hotfix-paste-scroll

Prevents scroll to top when paste
Refactor minor changes to paste-plugin for better coding standards conformance