Update json to javascript brush