Update picMap.js

trimming down code to bare essentials