Update JS files loading order