Grr, sorry. As I modified the code of the javascript I put in the absolute path to my webserver. This server (and domain) isn't aviable from the internet so the image couldn't be displayed.
Now I use the correct relative path to the image directory of the currently selected style - that should have been the default behaviour from the beginning.
Thanks for the feedback again

I updated the files (both product and javascript).