Update install.js

Added missing httpRequest function