Remove docs tasks from gulp build system
Remove duplicate function and cleanup code