add prepare script to combine for node/browser versions