Add snippet for Revealing Prototype Pattern in JS