Update helper_functions.lua

woops... spells instead of spell (passed value is either spell or ws)
Update helper_functions.lua

convert string ids to number (not sure why they were being sent as string but w/e)
Merge pull request #421 from nitrous24/patch-1

Update helper_functions.lua