Fix javascript after barclamp-crowbar change

https://github.com/crowbar/barclamp-crowbar/pull/1091 exposes a bug in
the javascript where we don't specify the default value of a json
attribute we try to read and that doesn't initially exist.