make items.js contain a python json.loads() decodeable string (except for the var = bit)