This is because everything you define in a 1.0 Cli...
# suitescript
e
This is because everything you define in a 1.0 Client Script becomes global, while 2.0 encapsulates your code within a module. Your 2.0 module would need to export anything you want available to the page.