site.js: Factor out onSubmitReceipt()
site.js: Factor out onSubmitReceipt()

ChrisCummins/chriscummins.github.io,ChrisCummins/chriscummins.github.io,ChrisCummins/chriscummins.cc,ChrisCummins/chriscummins.github.io,ChrisCummins/chriscummins.cc,ChrisCummins/chriscummins.github.io,ChrisCummins/chriscummins.cc,ChrisCummins/chriscummins.github.io