I've upgraded the script to the 1.6 version you have on your own website and added a bugfix