update dependencies, clean up example js files