shuffle working with getJSON

Signed-off-by: Brian E Tovar <betovar@leaflabs.com>
fixed incorrect shuffle routine

Signed-off-by: Brian E Tovar <betovar@leaflabs.com>