fix for missing js files and scripts