added active shownotes part for options page + restructured js for options