BirdHunter in JavaScript