Removed inline JS in favour of an external file (`js/app.js`)