Added code comments,
Removed unused variables
Commented some duplicated code with router.collect_urls method
Made us of grunt.file.delete recursive capability
Removed useless async calls
Removed unnecessary queue_urls_html_build