Got rid of using public token. Seems insecure and probably not a great idea.
Added ask function to abstract requests from mappedin.js