Changed JS load order