Fixed invalid javascript in the API examples
Merge pull request #121 from apfelbox/patch-1

Fixed invalid javascript in the API examples