Add the img tag in Slider.initialise().

If we output it in the PHP-generated HTML we have two options:
1) Don't have a src attribute, which means it won't validate.
2) Have a bogus src attribute, which causes warnings and unnecessary HTTP
requests.
Instead, add it from Javascript.