Create changehash function using history api if browser support and location.hash if not
release 0.2.5