Fix #1 javascript error according to newrelic