Added javascript to app/views for stuff