Updated script to mirror changes in index.html.
Added GIF support.
Added onmouseout support for tools. Fixes #26.
Merge remote-tracking branch 'origin/19-Autosize'