put spinner script in application.js
fixed issue with DOM bindings
deleted vendor jquery