added sync for js files
clean js dir in _output