Created browser file examples and cleaned console examples.

The console examples work the same but now with less code.