merge pages in json file
trying to set up init function for each widget