Removed the javascript for the old adventure viewer.
Added a few more basic specs for the range calculating function.