Adding JS comments and cleaning up map size