merge data to json
move code to new js file
initial coomit