small update to js