Fix some JS errors

In /api/googleapiv3/js/admin-post.js you had a comma at the end of an object which would error out in IE

I've moved WPGeo_Admin JS definitions into a PHP array and displayed with json_encode(). This fixes an error when a user hasn't let lat or long settings in admin - it was erroring out.