fixes

Andy, here is the pull.  It also includes a jqm 1.4 fix.

Cheers Greg