Changed the onpaste event handler to be used only in Chrome/Safari (compatibility issue + problem doesn't occur in Firefox or IE) #DOM-13