separate map from library
enable to set showing data property out of library
use parameter, not string in function
separate js from html