Fixes missing method in case of old nodejs version.

Jira-issue: WP-1279
Fixes typo.

Jira-issue: WP-1279
Merge pull request #11 from mlasak/WP-1279

Fixes missing method in case of old nodejs version.
restore old fix from Michele that has been lost
Jira-issue: WP-1280
fix jasmine browser tests

move tests to web_root/jasmine/ and fix refs to jasmine libs

Jira-issue: WP-1284
Merge pull request #12 from paolovergori/WP-1280

restore old fix from Michele that has been lost
Merge pull request #13 from aldafu/WP-1284-fix-jasmine-browser-tests

fix jasmine browser tests
Improves resource locations in test page, taking rather local than remote

Jira issue: WP-1289
Merge pull request #14 from mlasak/WP-1289

Improves resource locations in test page, taking rather local than remote