Updated to produces better SEO URL Titles

Replaced underscore of url = url.replace(/\s+/g,'_'); with hyphen 
url = url.replace(/\s+/g,'-'); for better SEO URL Title