Added sys.config() in javascript.