I probably should have told you this earlier but action has to be a string so `typeof(attrs.action) === "string"` would be better.