I think this is probably the right choice... but it now means the title is no longer embedded in the HTML. So programs that just fetch a post such as this one, will not be able to know the title because it requires JavaScript to process it.
I had a bot that would extract titles from URLs, but it now no longer works with Photon links :|