settings object contains "view_apikey" not "apikey"; added ajax exec call