add js docs
Separate configuration file into two parts: config and repositories. Move repositories config to remote host and provide api for read and updte it