Add compilation and packaging as single file so that external

plain JS can utilize lfpb