add initial json and js