add jamjs support