First version of workflow jquery plugin