Create Map JavaScript Function Details