Move Imager outside of app.js

So it's not dependent on browser cutting the mustard

cc: @kaelig 
As discussed: missing display property somewhere