refactor some js
Merge branch 'master' of github.com:priteshgupta/spotdrop