migrate: Bugfix arguments.join()

arguments is not an array, so it does not have a join() method
Merge pull request #1285 from mc10/migrate

migrate: Bugfix arguments.join()
Remove the # mark when location.hash == ""

Example: Closing the settings panel