Fix grunt config
Add hash and back button support