Adding tests. Moved main.js in jquery-prioritize.js
Updated the code from test html file.
Updating tests