added snapjs