Move js out into script.js