Feature Function Map Javascript Example Code