Remove document.application

For https://github.com/montagejs/montage/pull/1079