Javascript Use String As Variable Frequency Motor