refactored default.js
added google code prettify