crawler refactor
refactor js code in backbone