Javascript tests for a JDG demo client