Module Brain Browser

Moved BrainBrowser to modules directory and made necessary changes to get it to work.
Could you please keep the same spacing as in the rest of the files (tab=2 spaces for javascript BB wrappers)?