webstart.js changes & fixes.   Wrapped code in an igv function object to minimize use of global namespace.