Added more JS documentation. Small error in ui/template/license_and_credits.html fixed