refs #347 - Fixed JS error and removed custom JQuery