Updated theme changes

added jquery 1.10 into theme. Improved script. See theme commit log for
more details.