added code to do rest call within the javascript, so now don't need an extra tasker call.  plus got rid of the switch and just went for else if statements.  hopefully this will run better.  hard coded the stop number in the script, might have to mess with that so i don't have multiple scrips when a variable was all the needed to change.