use statedict instead of tojson
refactor @manipulate
ijulia_init for IJulia initialization