bugfixes for loading module css/js files