Update Print.js

leaking local variable into global scope.
Merge pull request #565 from pagameba/patch-1

Update Print.js