Rearrange static files loading sequence