Add support for jamjs