Fix production? and js