Just to alert on javascript syntax errors on javascript on demand when debug = true