Fixed logout functionality by adding application.js file.

The assets/javascripts/application.js file was missing, which was causing the logout link to default to a GET request.