adding js files to examples