Minor code cleanup/event.preventDefault on links. Fixing some scope issues for multiple instances on a single page - bug 19:resolved