Various changes

- Adding comments to functions
- Changing truth to truthy
- New hide function
- New add_alert function
- Moving call init() to index.html file, to allow testing app.js