Reorder JS load order