Added jquery. Moved scripts to separate files.