Fix undefined constant error when no CSS or Javascript preloads are set.