trying things with JSON and javascript