refactor

Moved check out buttons javascript from template to its own file
release: 0.5.0.15