map changed to index. foreplay for stats done by sending getJSON results to global scope hacky, need to focus on that now