Version 1.2

Fix issue #6 (requires at least jQuery 1.7 to work).