updated JS