fixed previous "checking for easing css class" commit

get the class list as array because string.indexOf would return a positive value for "swing" if the css class is actually "jswing"