javascript: config