I did an airbox/battery location swap when I installed my HX40. I modified the existing battery tray to work. A word of caution - make sure you place the battery far enough away from the firewall so the hood hinge doesn't hit it when closing the hood.....ask me how I know.
My air filter will be open for a little while, but soon I will be making my own airbox in the front corner of the engine compartment. So far I'm planning on using some aluminum sheet I have (I'm guessing about 16 gauge, but don't know for sure at the moment) because it will be easy to work with. Then I will cover it with DEI Floor & Tunnel Shield to keep the heat out. If I find some nice sheets of ABS plastic when it comes time to make it, then I may use that instead. If you work on yours before I work on mine I will be interested to see what you do.