Move JS imports out of body as well