Remove line 2, that should be at the top of your s...
# suitescript
j
Remove line 2, that should be at the top of your script just under the big function call with your modules like between
function(record, curRecord) {
and pageInit