edited some js in worksheet