Update JS guidelines about docu.
Merge pull request #35 from vogdb/issue-35

Update javascript guidelines.