https://tutorial.eyehunts.com/js/javascript-call-function-by-name-code/
JavaScript call function by name | Code