Using webkit's method for determining frame durations of various gif images

As the library stands, most gifs animate too slowly.  This is because it is not using the unclamped delay time if it is present.  I've copied some of the source from web kit (also here http://stackoverflow.com/a/17824564/1698436) to determine the proper frame duration - which does the following.

1) Checks the unclamped property value and uses it if available
2) If that doesn't exist falls back to the delay time property
3) If that doesn't exist it does with firefox does and uses 0.1 between frames