Remove redundant lines in ambient.js example

The line above these two does the same thing and in a more succinct way. Removing them for clarity and to be consistent with other module examples.