issue 817 polylines works again

@gitnik  @aesnyder @cthrax @kandizzy @zacronos 
polylines works again
Oops, I wonder if some parentheses might help here. I know it's not super coffeescript-ish, but with the nested _async might make it clearer.