copied conversion files from other project
implemented simple dom selector