Fix and restore deleted js