added option to toggle between current and new tab as default, use HTML5 markup