update loadAll.js
update loadAll.js so it will work in Firefox AND Chrome