Updates JS rendering