GSJS integration, continued

Ironing out some kinks concerning the integration of the GSJS code (see
the commit log for details)