noidea how js works