That's because you're overwriting the record modul...
# suitescript
m
That's because you're overwriting the record module with your newRecord object.