Fix missing closing tag in application layout.
Add autorefresh on Questions#index (and moving ugly code to application.js).