I bet it has to do with what you're writing to the...
# suitescript
m
I bet it has to do with what you're writing to the response. Can you post your code?