Create checkout.js

this needs to go into the \assets\js\ subdirectory