js pattern update