merge data file into js