- use relative path to javascript.
- Support of socket authentication