I have it in a ClientScript which I believe is why...
# suitescript
n
I have it in a ClientScript which I believe is why it may not work like @stalbert described