read/write script page via JSON api. WIP