URL Slug not populating on title entry for new post.

Cleaned this up a bit (JSLint styling) and made it actually work. It was bugging me that it didn't properly update the slug when I went to create a new post.