Fixed some bugs in the example.
Moved some examples to json.
Moved back to javascript examples for inline comments.
Verbiage.
Formatting.
Formatting & verbiage.
Moved object examples above list.
Added descriptions for resource & action.
Formatting.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Formatting.
  Added descriptions for resource & action.
  Moved object examples above list.
  Formatting & verbiage.
  Formatting.
  Verbiage.
  Moved back to javascript examples for inline comments.
  Moved some examples to json.
  Fixed some bugs in the example.