parser broken into functions
fixed infowindow display bug