Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "Revert "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 ef9b50b24c7f6e71f1f4cfd9ce2012ede3c64b8e.