Fixed expression in root document to be robust for eval().
(rivr.js) Defining functions directly on rivr object without using a temp object.
Merge branch 'javascript-fix' of gl.nuecho.ad:rivr/rivr
Merge remote-tracking branch 'github/master'