fixed a problem when js directory is created only when client files are present. js dir should be created also when vendor files are present.