Separating the JQuery into a file and making it work