bug fix

add jquery
make popup menu useable