Generating Output Script from Bitcoin.js or other Javascript Library
I wrote a tiny module to do just this: https://github.com/lukechilds/build-output-script

It can be used like so:

const buildOutputScript = require('build-output-script');

buildOutputScript([{address: '1LukeQU5jwebXbMLDVydeH4vFSobRV9rkj', value: 100000000}]);
// '0100e1f505000000001976a914da6473ed373e08f46dd8003fca7ba72fbe9c555e88ac'


You can pass in multiple P2PKH addresses.