Move resources; fix cached JS problem