biojs snippets

Hi,

this PR adds two things

1) biojs snippets
2) allows one to use any DOM element/selection  (e.g. elements which are not on the DOM)