attempting to figure out optimizeJS errors.