removed link to jquery
fixed the render methods and simplified the model defin