Fixed Algorithm to use new dataset and deal with asynchronous javascript