Update jquery.beautify.js

better type checking