refactored configuration files for JS documentation + fixed some docs.