Code style fixes
Add history hash bookmarking for older browsers