Minor cleanup for tag suggestions JS

When creating a new page, you get a (lame) error saying you picked an invalid choice.  You also get a JS error that a variable isn't provided.  Fixed it and added a backup plan (i.e. just use [])