added jquery, blanked model on hide, renamed some variables to be more readable
: