Replace json by js to eval