Minor changes

Updates for Zen Cart v1.5.4 compatibility. As Zen Cart v1.5.4 will
include jQuery, the changes are to support older versions of Zen Cart
which do not come with jQuery bundled in.