Added JQuery libraries, a frequency-slider and removed some redundancies