This code block and be indented better. See example here: http://pastebin.mozilla.org/3684714