phatomjs log trace onerror