Profile viewer, add shake-util.js and redo the window.history pieces