moved spin.js to own file and allowed ladda to be loaded as a js module