Parts of code in JQuery