Javascript based is clearer than client side

language could probably use further fine tuning.  Final accepted version needs dupe to master also. @yaymukund @sethbannon @xcoderzach