remove extraneous code, jQuery, fixes