Fix 'extends' in browser.

This fixes #370
This doesn't fix 'include' though.

NOTE: this is merely for documentation purposes.
I would consider #377 as a fix for 'extend' and 'include' in the browser.