improved gulp workflow
made gulp file more robust when syntax error occur
renamed dist files