improvements in getting ajax contents from hash tags