A Javascript Pattern collection