a jquery plugin that check the input on the pages