DirectEmployers/MyJobs — pull request #581 by galitskyd (2014-03-26 20:42:37+00:00)
Title: Javascript for Modals load on hover [MJ-778]

This pull request is currently on staging for testing. I strongly suggest other people test this before merging or commenting.

Removed Modal.js and modal manager js from head (was consistently 500ms on init load) and moved them to be loaded only where we actually use the js (delete buttons and two buttons on account settings).

Didn't use $.getScript() because it does an ajax call globally which shows the our ajax-busy spinner which would be annoying.

Unfortunately, I had to duplicate the ajax call because account settings does page loading differently than every other page on the site, so there is that.

All Tests Pass