added requirejs task
refactored current tasks