Resolved minor JS error