[REFACOTR] add getJSON and renderJSON public methods, fix bug where prevent drawing when replay is in progress
[UPDATE] bump version to v0.5.2 and build min.js