Add legacy snake js