draft snapjs integration