trashed snapjs made my own works way better