Fixed issues with js files missing