removed unsued files, moved scripts into scripts.js