Cleaned up pngquant.js

Removed a ton of repetition and unnecessary specificity.