updated dom example, updated comments in bugle.js