renamed main function so as not to conflict with jquery ui slider functi...

...on.