Node js prototype