Allow more flexible DOM structure - !!! this is using jQuery for now, best JS only implementation to be discussed in pull request