Using window.location.hash to open tab [#9] + refactor custom.js