to do this we would need to wait for the DOMContentLoaded event in order not to corrupt the app DOM