xml to native js transition, part 1
xml to native js transition, part 2