Update history.js

[\w0-9] equals to \w as w\ means [A-Za-z0-9_]