added url hashbang (#!) compatibility