Change Javascript require order