[PATCH]: script type

First we need to check if `type` is an attribute of the node. This will
be unnecessary with future releases of lexor. For now we must write
this patch.
v0.0.2