make install script utilize jQuery functions