Regenerates JS