Changes js loading order