Removed jquery deferred, replaced with Q promises. Fixed display issue when upgrading bootstrap