Revert "Revert "Revert "Revert "Revert "Yoinked Boomerang 4 Gmail code from ~/Library/Application Support/Google/Chrome/Default/Extensions, prettified the important JS using http://jsbeautifier.org/"""""

This reverts commit 2092c05af3db7fc69ad1b9962c7f49fe496ef67f.