Fixed bug in depency checking and load postRender functions from JSON
options