Optimzations: First commit of things I did a year ago.

Resize for quality, small optimizations, jsHint passing