Removed incomplete/outdated cart logic -- these are old relics of an early implementation of the cart; if we want mobile cart support, we should reimplement based on the current blueprint theme.
Eliminated unused variable.
jslint style fixes (global directive for path variable defined externally; put function definition before call to that function for clarity).