Still a work in progress, not ready for usage.
Tries to mim Classic Google Analytics methodology to calculate traffic source client side.
On Universal Analytics all this is calculated server side, so it's unavailable in case you need it client side.
Hello, I see you didn't modify this anymore, what does it need to be ready for usage?