Fixed JS errors caused by using {{}} instead of []