Further Speed Optimisation & new functionalities to use with ajax contents

Hi,
I do further changes on your plugin to optimize some functions and use it with ajax content.
So you can use them if you like them ;)
And thanks for the plugin!