I'm trying to find a code style to follow. Based on my understanding, I think Ramda.js is the way to go. If Douglas Crockford's way of object creation (something like this: http://stackoverflow.com/questions/27257397/constructor-pattern-by-douglas-crockford) is used, it would be even nicer.
Thanks in advance,
Liwei