Refactor alerts

- No longer need to include alerts.html in template or use alerts() for args in render()