#2 - Not working in FF

Fixed js for FF; deleted outdated settings/vars.