Ordering JS load