replace get/setFragment with attach/detach (pass container in to constructor), import changes from linting and IE testing