Fixing the issue with the javscript 404