set default to optimize the js in opt