I'ved updated the js heavily.  After watching GoToTraining I'll need to update it by seperating the main fieldObjects object into individual objects.