support chrome

move entities from json to separate js file.