clean front with discover + local js files