Fine-tuning JavaScript programming bugs