Adjust JS and JSON syntax