js "min" bug fixed