changed application js loading order