make json the default format for js use; add some comments about options
implements aliases, changes response
refactored response fn
can get the true (i.e. original) response, if needed