fix unterminated statements

Assignments should always be closed with ; otherwise code might break
when run through JS minifiers.
Merge branch 'cleanup' into dokuwiki

* cleanup:
  fix unterminated statements