Update to v0.3.1

Fix erroneous inclusion of a jQuery method `.last()` - replaced with
equivalent jQLite method.