Took types JavaScript out of foreach loops within ProcessData::display_account_settings() and placed it just before return.
* Added a check to accounts.display() to make sure we don't throw an "undefined" error.
* Replaced all binds with delegates that are called in the $(function()).
* Updated logic to handle creating dialogues for adding new account types.
* Updated some logic with saving account types.