Updates JS files