Added logic to selection boxes.
Merge branch 'd3test' of https://github.com/weareytm/Ragnarok into d3test