Remove code responsible for non-iframe mode

[#66347696]
Remove dead code from application.js, fix lint errors

[#66347696]