style & map with JS