Remove stale code

Hello,

While installing spin.js on a project, I identified some code that appears to go unused.  I believe it is safe to delete these bits; would you mind double checking my work here?

Thanks!