update configuration + fix js bug