I am not trying to be snarky with this question, but does it really matter with JS?
Its always going to be run in a browser by one user, not having multiple people connecting to it like the server side does. As long as it seems snappy to the user it shouldn't make a great deal of difference.
Counter opinions welcome.