Handling URL fragment to enable search engines crawling (google basically). based on https://developers.google.com/webmasters/ajax-crawling/