Updated views and script.js