more issue fixes

fixes #7 and #8 – badge display script is no longer triggered automatically, can pass options (className or id).