updated base .js files from another demo