clean up Random tab, update jQuery code to use on() instead of live()