Fix bug in accessor function returning an array

	modified:   web/js/synmap.js
fix bugs and warning messages

	modified:   web/SynMap_new.pl