change base template to use viewshare jquery instead of loading remote; substitute deprecated jQuery calls with their current equivalents; comprised of size() -> length, live -> on, and load for events to .on('load')