Added postgres functions for using JS.  Updated Model and SingleRunFunctions for this new setup
Added postgres functions for using JS.  Updated Model and SingleRunFunctions for this new setup
Merged, accepted my Model