Paint Editor: Pipette tool

and code formatting adjustments for JSLint