make ASN compatible with node 0.11