we use a static guard to only call SDL_Init() once.
Another option would be to call SDL_Quit(), but it doesn't seem to be
doing anything.
Also, fix the HTML code and add 'use strict' directive.
BUG=webp:354
Change-Id: I3c6421e2c1c8cc200556cd4092a0ead9a8b054ef