don't double up frames
cleanup imgur js