JavaScript Tip -1: Speed Up Object Detection