Naming Congruency

Fixed names in Origami-related JS functions to parallel java naming convention.