You have one small typo in your code:
var theUrl = url +apiKey + "/"+ latitude+","+ longtitude +"?callback=?";
To help debug these issues, your browser has a much better console than the one available inside of codepen. On Mac OS, press Command + Option + J to bring it up. On all other OS, it’s Ctrl + Shift + J.