move js out of main file
move checkout and shipping utils into a new utils.py module