Merge pull request #429 from mposolda/master

Fixes in JS examples
Change default timeouts for testrealm.json bundled in examples