Deleting repetitive jquery
Fixing up missing pieces
Fixing up missing variables but running into assertion errors