Update applyMap.js

changed function name to CamelCase