Fixed loading of core styles.

Use ${rootURL} instead of ${resURL}