enhancing per recent documentation updates and discussions with iSB
added preloader option, added javascript output option