Refactored getNeeds method so that we could filter by is_active.
Added confirmation prompt on deletion of need.
Major refactor: eliminated several global variables, reorganized templates, replaced Add Another button with Done button to improve UX, and more.
Renamed some classes for better code readability. Updated event for timeplugin fields to reduce excessive AJAX calls. Removed debugging code. Updated templates (new element triggers Add New). Updated handler for Add Need.
Remove sorting from Define UI.
Define Needs UI - Change alt text from Remove to Delete.
Whitespace cleanup (auto code formatting).
Merge pull request #128 from fjg-conflux/jsstuff

Refactor of Define Needs UI.