Create jquery.motto.js

I have been motivated by lagoscript.org's jQuery autopager plugin  and most part of the code belongs to that. I have modified some part while implementing in my project and observed some flaws and tried to overcome those flaws as well as improvement of the plugin for other usage too.