Corrected error in console.log that prevented loading the script