Fix invalid compressing of js in production