optimized sorting away, missing return from javascript embedded in coffeescript, now it's working :D