Update paint.js

Fixed an orientation bug.
Merge pull request #4 from mustaqahmed/patch-1

Update paint.js