Small fix to load js files when there is no css files defined.