Fixed minor bug in frontend JS.
Fixed config error.
Updated documentation.