A simple hunter/pray javascript app