Feature Function Map Javascript Method That Returns