Polished a few traditional ES2 functions.
Add ES2 painting example with shaders.