mapping tweaks

fixed some js anomalies, added a bunch of explanatory comments that you'll want to remove and clean up.
also fixes #3 
also made the width auto for the map since on my old style monitor (not widescreen) it was pushing down below the list.