Cosmetic updates in js_samples.