add regex js on prototype name