Added  js function to handle user-select in IE

Added  js function to handle user-select in IE