Add title support for smart load

* Includes minor tweak to jonDum's original pull, to allow it to work with IE7.